#include <iostream>
#include <ctime>
#include <iomanip>


using namespace std;

void print_table(short[]);
void print_num_table();
int open_chess(short[], short[], short, short[]);
char* num2chess(int);
void init_chess_table(short[], short[]);
void init_MoveTab(short[32][5]);
void init_OrderTab(short[34][34]);
int num_of_next_move(int [], int[32][5], int[34][34], int);
int chess_move(short [], short[], short[32][5], short[34][34], short, short);
void man_assign(short[], short[]);
void randomChessBoard(short[], short[]);
bool WinWin(short[], int);

